<div class="inl">
<div class="formbox">

<form method="post" action="<?php echo $ro->gen('guestbook'); ?>" id="gbForm">

<div class="reihe">
.: name :.<br/>
<input name="name" type="text" id="fe-name" />
<br/></div>
<div class="reihe">
.: email :.<br/>
<input name="email" type="text" id="email" />
<br/></div>
<div class="reihe">
.: homepage :.<br/>
<input name="homepage" type="text" id="homepage" />
<br/></div>
<div class="reihe">
.: message :.<br/>
<textarea name="message" cols="40" rows="3" id="message" ></textarea>
<br/></div>
<div class="reihe">
<input type="hidden" value="1" name="s" />
<input type="submit" name="submit" value="Submit" class="button" />
<br/>
</div>

</form>

<br/><br/>
<?php if ($vm->hasErrors()) { ?>
	<div class="box error">
		<div class="content">
			<h2>Error</h2>
			<ul>
				<?php foreach ($vm->getErrorMessages() as $error) { ?>
					<li><?php echo $error['message']; ?></li>
				<?php } ?>
			</ul>
		</div>
	</div>
<?php } ?>
<? if(isset($t['saveEntry']) && $t['saveEntry']==true) echo "<br/><br/> Eintrag erfolgreich gespeichert!"; ?>
<? if(isset($t['doubleEntry']) && $t['doubleEntry']==true) echo "<br/><br/> Doppelter Eintrag ignoriert!"; ?>

<div style="clear:both">&#160;</div>	
</div>
</div>
 
<div class="inr">
<? echo $slots['GuestbookEntries']; ?>
</div>
